package com.outfood.service;

import com.outfood.common.common.response.RestResponse;
import com.outfood.domain.Order;
import com.outfood.domain.Store;
import com.rys.common.base.service.IBaseServcie;
import com.tps.open.weixin.vo.XcxPayPramsVO;

import java.util.List;

/**
 * @Author huisonglin
 * @Description
 * @PackageName outfood-platform
 * @Package com.outfood.service
 * @Date 2024-03-25 17:03
 * @Version 1.0
 */
public interface IStoreService  extends IBaseServcie<Store> {

    public Store addBypassword(String username, String password,Long userId);

    public void addCookieandStorage(String cookie,String storage,Long storeId);

    public XcxPayPramsVO renew(Long storeId, Integer month, Long userId,String price);

    public void loginByQrCode(String ksid,String shopId,String shopName,Long UserId);

    public void loginByQrCode(String ksid,String shopId,String shopName,Long UserId,String username,String password);

    public void loginByQrCode(String ksid,String shopId,String shopName,Long UserId,String mobile);

    public void addTestStore(String storeName,Long userId);

    public void sendCode(String mobile);

    public Store loginByCode(String mobile,String code,Long userId);

    public Store loginByCookie(String cookie,Long userId);


    public Store reloginByCookie(String cookie,Long userId,Long storeId);


    public Store reloginBypassword(String username, String password,Long userId,Long storeId);


    public Store reloginByCode(String mobile,String code,Long userId,Long storeId);

    public List<Store> getStoreList(Long userId,String onlineStatus, String orderStatus);

    public Store loginByEleme(String username,String password,Long userId);

    public Store loginByCode(String code,Long userId,String username,String password);
}
